/**
 * 
 */
package fr.lelouet.ServersModel.entropy;

import fr.lelouet.ServersModel.virtual.VirtualMachine;

/**
 * @author le louet
 */
public class DynamicVM implements VirtualMachine {

  protected int requiredCpu;

  protected int requiredMemory;

  @Override
  public int getRequiredCPU() {
    return requiredCpu;
  }

  @Override
  public int getRequiredMemory() {
    return requiredMemory;
  }

  protected long start;

  @Override
  public long getStartTime() {
    return start;
  }

  public DynamicVM(long start, int requiredCPUs, int requiredMem) {
    this.start = start;
    requiredCpu = requiredCPUs;
    requiredMemory = requiredMem;
  }

}
